import request from "@/utils/request";

//获取飞书应用配置
export function getFeishuCalendarSubscribe(data) {
  return request({
    url: "/feishu-calendar/subscribe",
    method: "POST",
    data,
  });
}

//飞书日程
export function getFeishuCalendarList(params) {
  return request({
    url: "/feishu-calendar/calendar-event",
    method: "get",
    params,
  });
}

//飞书详情
export function getFeishuCalendarDetails(params) {
  return request({
    url: "/feishu-calendar/calendar-event-info",
    method: "get",
    params,
  });
}
